#ifndef __hwnd_delegate_h__
#define __hwnd_delegate_h__

#include "windefine.h"
#include "../core/define.h"

class WindowDelegate : public core::HandleDelegate
{
public:
    WindowDelegate();

    void Attatch( HWND hWnd );
    HWND Detatch();

public:
    virtual bool Drag();
    virtual bool Update( const core::rect & rect );

private:
    HWND m_hWnd;

private:
    DISABLE_COPY_AND_ASSIGN(WindowDelegate)
};

#endif